/*
* Copyrigth 2008 Company All rigths reserved
* File Name: TS_TeachMaterials_Entity.cs
* Created By:    Wenbin.Xu
* Created Date:   2013/7/8 16:31:11
* Description:    TS_TeachMaterials的实体类
* Change History: 
* 
* */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WisDragon.Framework.EntityAttribute;

namespace TrainingsApp.Model {
    /// <summary>
    /// 表示TS_TeachMaterials的类型
    /// </summary>
    public class TS_TeachMaterials_Entity {
        /// <summary>
        /// 
        /// </summary>
        [DataMapping("Idx", System.Data.DbType.Int64)]
        public System.Int64? Idx { get; set; }

        /// <summary>
        /// 学科主键
        /// </summary>
        [DataMapping("CourseId", System.Data.DbType.Int32)]
        public System.Int32? CourseId { get; set; }

        /// <summary>
        /// 教材名称
        /// </summary>
        [DataMapping("Name", System.Data.DbType.AnsiString)]
        public System.String Name { get; set; }

        [DataMapping("Grade", System.Data.DbType.Int32)]
        public Int32? Grade { get; set; }

        [DataMapping("Gradename", System.Data.DbType.String)]
        public string GradeName { get; set; }

        [DataMapping("CourseName", System.Data.DbType.String)]
        public string CourseName { get; set; }



        [DataMapping("Code", System.Data.DbType.String)]
        public System.String Code { get; set; }


        [DataMapping("Version", System.Data.DbType.String)]
        public System.String Version { get; set; }

    }
}